﻿using AIVision.Model.EntityModels;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AIVision.Model.InspectModels
{
    public class InspectStatusModel: BindableBase
    {
        #region 视觉通信属性
        private bool okLiao = false;

        public bool OKLiao
        {
            get { return okLiao; }
            set { okLiao = value; RaisePropertyChanged(); }
        }

        private bool manualPhotoReady;
        /// <summary>
        /// 拍照就绪
        /// </summary>
        public bool ManualPhotoReady
        {
            get { return manualPhotoReady; }
            set { manualPhotoReady = value; RaisePropertyChanged(); }
        }

        private bool visionPhotoReady;
        /// <summary>
        /// 拍照就绪
        /// </summary>
        public bool VisionPhotoReady
        {
            get { return visionPhotoReady; }
            set { visionPhotoReady = value; RaisePropertyChanged(); }
        }
        private bool visionPhotoComplete;
        /// <summary>
        /// 拍照完成
        /// </summary>
        public bool VisionPhotoComplete
        {
            get { return visionPhotoComplete; }
            set { visionPhotoComplete = value; RaisePropertyChanged(); }
        }


        private bool visionInspectComplete;
        /// <summary>
        /// 检查完成
        /// </summary>
        public bool VisionInspectComplete
        {
            get { return visionInspectComplete; }
            set { visionInspectComplete = value; RaisePropertyChanged(); }
        }
        #endregion


        private ObservableCollection<SampleDataModel> sampleDataList = new ObservableCollection<SampleDataModel>();
        public ObservableCollection<SampleDataModel> SampleDataList { 
            get { return sampleDataList; } 
            set { sampleDataList = value;RaisePropertyChanged(); } 
        }
    }
}
